<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<link rel="stylesheet" href="__TPL__/css/head.css"  type="text/css" />
	<script type="text/javascript" src='__TPL__/js/jquery-1.11.0.min.js'></script>
	<script type="text/javascript" src='__TPL__/js/head.js'></script>
</head>
<body>
<!-- 最顶部的可关闭广告 -->
<!-- <div id='top_ad'><img src="__TPL__/images/top_ad.jpg" alt="" /></div> -->
<!-- 最顶部的可关闭广告结束-->
<!-- 头部灰色区域 -->
	<div id="top">
		<div class="top_main">
			<!-- 左侧 -->
			<div class="top_l fl">
				<p class="shoucang"><span class='fl'></span><a href="" class='fl'>收藏</a></p>
				<script type="text/javascript">
					$('.shoucang').click(function(event) {
						alert("加入收藏失败，请使用Ctrl+D进行添加");
						return false;
					});
				</script>
			</div>
			<!-- 左侧结束 -->
			<!-- 右侧 -->
			<div class="top_r fr ">
				<ul>
					<if value="!$hd.session.uid.uid">
						<li><span class='fl'>您好，欢迎来到老地方</span><a href="" class='fl'>[登录]</a> <a href="" class="denglu fl">[免费注册]</a> <span class='xian fl'>|</span></li>
					<else/>
						<li class="pL">
							尊敬的：{$hd.session.uid.uname}您好！
							<a class="pR10" href="{|U('User/out')}">[退出]</a>
						</li>
					</if>
					<li><a href="{|U('User/user')}" class="dingdan fl">我的订单</a><span class='xian fl'>|</span></li>
					
				</ul>
			</div>
			<!-- 右侧结束 -->
		</div>
		
	</div>
<!-- 头部灰色区域结束 -->
<!-- 中间主体区域 -->
	<div id="main">
	<!-- logo区域 -->
		<div class="main_logo ">
			<img src="__TPL__/images/logo.png" alt="" class="logo" />
			<div class="sousuo">
				<form action="{|U('Search/index')}" method="post">
					<input name="sname" type="text" class="shuru fl" value='平板电脑' />
					<input type="submit" class="tijiao fr" value="搜索" />
				</form>
			</div>
			
		</div>
	<!--logo区域结束  -->
	<!-- 导航区域 -->
		<div class="menu">
			<div class="menu_l fl ">
				<a class="quan_fen">全部商品分类</a>
			</div>
			<div class="menu_r fl">
				<a href="{|U('Index/index')}" class="active">首页</a>
				<a href="{|U('Index/category',array('cid'=>1))}">服饰鞋包</a>
				<a href="{|U('Index/category',array('cid'=>7))}">家电通讯</a>
				<a href="{|U('Index/category',array('cid'=>21))}">美容珠宝</a>
			</div>
		</div>
	<!-- 导航区域结束 -->

<!-- 中间主体区域结束 -->
</div>
